package com.zzh.demo.feign.client;

import com.zzh.demo.feign.config.Provider2FeignConfiguration;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * description： <br>
 * createTime: 2019/4/1614:47 <br>
 *
 * @author zzh
 */
@FeignClient(name= "provider2", configuration = Provider2FeignConfiguration.class)
@RequestMapping("/provider2")
public interface Provider2Client {

    @RequestMapping("/test")
    String test();

    @RequestMapping("/test1")
    String test1();
}
